package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.commons.exception.YogaException;
import com.woniu.model.form.PageVenueBaseApplyForm;
import com.woniu.model.form.PageVenueBaseForm;
import com.woniu.model.model.YVenueBase;
import com.woniu.model.param.AddQualificationParam;
import com.woniu.model.param.UpdateVenueBaseLicenseParam;
import com.woniu.model.param.addVenueBaseTimeParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author EdisonLiu
 * @since 2024年05月23日
 */
public interface YVenueBaseService extends IService<YVenueBase> {

    YVenueBase loadVenueBaseById(Integer venueId);

    Integer updateVenueBaseById(YVenueBase venueBase);

    Integer updateVenueBaseLicenseById(UpdateVenueBaseLicenseParam param);

    /**
     * 根据场馆id更新场馆base
     * @param param
     * @param
     * @return
     */
    public Integer addVenueBaseTime(addVenueBaseTimeParam param)throws YogaException;

    Page<YVenueBase> pageVenueBase(PageVenueBaseForm form);

    Page<YVenueBase> pageVenueBaseApply(PageVenueBaseApplyForm form);
}
